package com.example.bean;

public class Cat {
    private Integer age;
    private String name;
    private double price;

    public Cat(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public Cat() {
    }

    public Cat(Integer age, double price) {
        this.age = age;
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
